<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="../js/bootstrap.js"></script>
<script type="text/javascript" src="../js/adminCommon.js"></script>
<script type="text/javascript" src="../js/adminTeacherInfo.js"></script>
<link rel="stylesheet" type="text/css" href="../css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="../css/common.css" />
<title>老师详细信息</title>
</head>
<body>
	<div id="top"></div>
	<ol class="breadcrumb">
		<li>当前位置：</li>
		<li><a href="#">首页</a></li>
		<li><a href="#">老师管理</a></li>

	</ol>
	<div id="alertdiv"class="alert alert-success alert-dismissible" role="alert">
  <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  没有通知。
</div>
	
	<div class="container-fluid">

			<div class="col-md-3">
				<div class="input-group search">
					<input type="text" class="form-control" placeholder="按关键字搜索" id="searchWord">
					<span class="input-group-btn">
						<button class="btn btn-info" type="button" id="searchByKey">搜索</button>
					</span>
				</div>
			</div>
			<button class="btn btn-danger" style="margin-top: 10px;"
				data-toggle="modal" data-target="#insertModal">添加</button>
			<button class="btn btn-warning" style="margin-top: 10px;"
				data-toggle="modal" data-target="#updateModal" id="userUpdateById">修改</button>
			<button class="btn btn-success" style="margin-top: 10px;" id="userDeleteByIds">删除</button>
			
				<table class="table table-bordered table-hover">
				<thead>
					<tr>
						<th>全选<input type="checkbox" id="selectAll" /></th>
						<th>工号</th>
						<th>姓名</th>
						<th>学院</th>
						<th>系别 / 团队</th>
						<th>标记为管理员</th>
					</tr>
					</thead>
					<tbody id="teacherShow">
		
					</tbody>
				</table>
			<div>
				<div class="btn-toolbar form-inline">
					<div class="btn-group" role="group" aria-label="...">
						<button type="button" class="btn">当前第</button>
						<button type="button" class="btn" id="currentPage"></button>
						<button type="button" class="btn">页</button>
					</div>
					<div class="btn-group" role="group" aria-label="...">
						<button type="button" class="btn">共</button>
						<button type="button" class="btn" id="totalPage"></button>
						<button type="button" class="btn">页</button>
					</div>
						<div class="btn-group" role="group" aria-label="...">
					<button type="button" class="btn">共</button>
					<button id="pageNum" type="button" class="btn"></button>
					<button type="button" class="btn">条</button>
				</div>
					<div class="btn-group" role="group" aria-label="...">
						<button type="button" class="btn" id="pagebackward">上一页</button>
						<button type="button" class="btn" id="pageforward">下一页</button>
						<button type="button" class="btn" id="firstPage">首页</button>
						<button type="button" class="btn" id="lastPage">末页</button>
					</div>
					<div class="btn-group" role="group" aria-label="...">
						<button type="button" class="btn">每页</button>
						<div class="btn-group" role="group" aria-label="...">
							<select id="max" style="height: 33px; width: 50px;">
								<option value="10">10</option>
								<option value="20">20</option>
								<option value="30">30</option>
								<option value="40">40</option>
								<option value="50">50</option>
							</select>
						</div>
						<button type="button" class="btn">条</button>
					</div>
					<div class="btn-group" role="group" aria-label="...">
						<button type="button" class="btn">转到第</button>
						<div class="btn-group" role="group" aria-label="...">
						<input type="text"  id="gotoPage" style="width:30px;height: 33px;"/>
						</div>
						<button type="button" class="btn">页</button>
						<button type="button" class="btn" id="goto">跳转</button>
					</div>
				</div>
			</div>
</div>
	<div id="footer"></div>
	<!--添加模态框  -->
	<div class="modal fade" id="insertModal" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="myModalLabel">添加老师</h4>
				</div>
				<div class="modal-body">
					<p>
						工 号：<input type="text" style="width:300px; height: 30px;" id="userNum">
					</p>
					<p>
						姓 名：<input type="text" style="width: 300px; height: 30px;" id="userName">
					</p>
					<p>
						学 院：<select style="width: auto; height: 30px;" id="userAcadName">
							<!-- <option value="9">计算机科学与技术</option>
							<option value="8">信息学院</option>
							<option value="6">制造学院</option> -->
						</select>
					</p>
					<p>
						系别/团队：<select style="width: auto; height: 30px;" id="userDeptName">
							<option value="9">计算机科学与技术</option>
							<option value="8">信息学院</option>
							<option value="6">制造学院</option>
						</select>
					</p>
					管 理 员：<input type="radio" name="admin" value="1" checked="checked">是 <input
						type="radio" name="admin" value="0">否
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-primary" id="add">添加</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>

				</div>
			</div>
		</div>
	</div>
	<!--修改模态框  -->
	<div class="modal fade" id="updateModal" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="myModalLabel">修改老师</h4>
				</div>
				<div class="modal-body">
					<p>
						工 号：<input type="text" style="width: 300px; height: 30px;" id="upUserNum">
					</p>
					<p>
						姓 名：<input type="text" style="width: 300px; height: 30px;" id="upUserName">
					</p>
					<p>
						学 院：<select style="width: auto; height: 30px;" id="upUserAcadName">
							<!-- <option value="9">计算机科学与技术</option>
							<option value="8">信息学院</option>
							<option value="6">制造学院</option> -->
						</select>
					</p>
					<p>
						系别/团队：<select style="width: auto; height: 30px;" id="upUserDeptName">
							<!-- <option value="9">计算机科学与技术</option>
							<option value="8">信息学院</option>
							<option value="6">制造学院</option> -->
						</select>
					</p>
					管 理 员：<input type="radio" name="isAdmin" value="1">是 <input
						type="radio" name="isAdmin" value="0">否
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-primary" id="upUserInfo">保存</button>
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>

				</div>
			</div>
		</div>
	</div>
</body>
</html>